//
//  DSBaseViewController.m
//  广四生活圈-demo
//
//  Created by Mac on 15/8/10.
//  Copyright (c) 2015年 Itcast. All rights reserved.
//

#import "DSBaseViewController.h"
#import "UIView+Toast.h"

@interface DSBaseViewController ()

@end
@implementation DSBaseViewController
-(void)viewDidLoad{
    [super viewDidLoad];
//    self.view.backgroundColor = [UIColor colorWithRed:arc4random_uniform(256)/255.0 green:arc4random_uniform(256)/255.0 blue:arc4random_uniform(256)/255.0 alpha:1.0];
    //self.view.backgroundColor = [UIColor redColor];

}
-(void)showLoadingView{

   
}

-(void)hidenLoadingView{
  // [UIScreen mainScreen].bounds.size.width

}

-(void)showErrorMessage:(NSString *)message{

   [self.view makeToast:message];
}
@end
